package com.twinkle.abmsspringboot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * RestController 注解测试
 *
 * @author Twinkle
 * @since 4 Aug. 2021
 */
@RestController
public class HelloController {

    /**
     * 页面输出 Hello, world!
     *
     * @return Hello, world!
     */
    @RequestMapping("/hello")
    public String hello() {
        return "Hello, world!";
    }
}
